package com.xingmei.springbootdemo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xingmei.springbootdemo.model.User;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface UserService extends IService<User> {
    Object saveUserWrapper(User user);

    @Transactional
    Object saveUser(User user);

    List<User> selectByName(String name);
}
